tree-wide: Remove trailing semicolon from autoptr declarations
authorColin Walters <walters@verbum.org>
Sat, 5 Aug 2017 19:20:04 +0000 (15:20 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 7 Aug 2017 17:42:32 +0000 (17:42 +0000)
It confuses `g-ir-scanner`, and isn't necessary.

Closes: #1056
Approved by: pwithnall

src/libostree/ostree-impl-system-generator.c
src/libostree/ostree-repo-checkout.c
src/libostree/ostree-repo-private.h
src/libotutil/ot-fs-utils.h
src/libotutil/ot-gpg-utils.h

index d64c8a27de6e7a623011077de011602d2e2e2694..ed2bb97c60230e96ee77874d6dbdeed3a8e8e171 100644 (file)
@@ -36,7 +36,7 @@
 
 #ifdef HAVE_LIBMOUNT
 typedef FILE OtLibMountFile;
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(OtLibMountFile, endmntent);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(OtLibMountFile, endmntent)
 
 /* Taken from systemd path-util.c */
 static bool
index 15d0394bfa39d1c4fd7d0d856a059384b4682efa..bfc280b6805e61c46d3b9a7139ad632c389471f2 100644 (file)
@@ -46,7 +46,7 @@ checkout_state_clear (CheckoutState *state)
   if (state->selabel_path_buf)
     g_string_free (state->selabel_path_buf, TRUE);
 }
-G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(CheckoutState, checkout_state_clear);
+G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(CheckoutState, checkout_state_clear)
 
 static gboolean
 checkout_object_for_uncompressed_cache (OstreeRepo      *self,
index 9c514766ef18ff59f1fb55f9be6a9a6b2243c7d9..d2c41316ddbc9ff7fdbb0600adf8d8d30832351a 100644 (file)
@@ -173,7 +173,7 @@ _ostree_repo_memory_cache_ref_init (OstreeRepoMemoryCacheRef *state,
 
 void
 _ostree_repo_memory_cache_ref_destroy (OstreeRepoMemoryCacheRef *state);
-G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(OstreeRepoMemoryCacheRef, _ostree_repo_memory_cache_ref_destroy);
+G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(OstreeRepoMemoryCacheRef, _ostree_repo_memory_cache_ref_destroy)
 
 #define OSTREE_REPO_TMPDIR_STAGING "staging-"
 #define OSTREE_REPO_TMPDIR_FETCHER "fetcher-"
index 43bc6942137a931e0015620c7e0b39ba4726c16e..e25522db10d7dfff98c20ab559b3b7a7ac4ce29f 100644 (file)
@@ -49,7 +49,7 @@ ot_cleanup_unlinkat (OtCleanupUnlinkat *cleanup)
       ot_cleanup_unlinkat_clear (cleanup);
     }
 }
-G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(OtCleanupUnlinkat, ot_cleanup_unlinkat);
+G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(OtCleanupUnlinkat, ot_cleanup_unlinkat)
 
 GFile * ot_fdrel_to_gfile (int dfd, const char *path);
 
index 036e5c28d358ce3de4bcc6bc9078a95aedef5fd4..b639e5acd837cac9816c0a7d4323b08ad9dabae2 100644 (file)
@@ -26,8 +26,8 @@
 
 G_BEGIN_DECLS
 
-G_DEFINE_AUTO_CLEANUP_FREE_FUNC(gpgme_data_t, gpgme_data_release, NULL);
-G_DEFINE_AUTO_CLEANUP_FREE_FUNC(gpgme_ctx_t, gpgme_release, NULL);
+G_DEFINE_AUTO_CLEANUP_FREE_FUNC(gpgme_data_t, gpgme_data_release, NULL)
+G_DEFINE_AUTO_CLEANUP_FREE_FUNC(gpgme_ctx_t, gpgme_release, NULL)
 G_DEFINE_AUTO_CLEANUP_FREE_FUNC(gpgme_key_t, gpgme_key_unref, NULL)
 
 void ot_gpgme_error_to_gio_error (gpgme_error_t gpg_error, GError **error);